package com.yin.myproject.thread.spinlock;

/**
 * @author Eason
 * @create 2018-02-09 10:22
 **/
public interface Lock {
    /**
     * 获取锁
     */
    void lock();

    /**
     * 释放锁
     */
    void unlock();
}
